package com.capgemini.wechat.mapper;

import java.util.List;
import java.util.Map;

import com.capgemini.remind.pojo.OrderInfo;
import org.apache.ibatis.annotations.Param;

import com.capgemini.core.PageList;
import com.capgemini.remind.pojo.ConsumeInfo;

public interface SaleOrderMapper {

	int batchInsert(List<Map<String, String>> list);

	void removeExistingLines(@Param("orderIds") List<String> orderIds);

	List<ConsumeInfo> queryConsumeHistoryPage(PageList<ConsumeInfo> pageList);


    List<String> queryOrderIdByDealerNumAndCustomerIdForPage(PageList page);

    List<OrderInfo> queryOrderByOrderIds(List orderIds);

    void processAllSaleOrderInfo();

    void processSaleOrderInfo();

    void refreshCustomerRelGroup();

}